import React from 'react';
import { Breadcrumb } from 'antd';
import { AxTabTitleCard } from '@/components/AxBase';

const tabList = [{
    key: 'tab01',
    tab: '目录清单',
    url: '/buyer/lab/inventory/catalogue/data',
}, {
    key: 'tab02',
    tab: '调整记录',
    url: '/buyer/lab/inventory/catalogue/record',
}];

const Layout: React.FC<any> = ({ children }) => {

    return (
        <AxTabTitleCard
            title={
                <Breadcrumb separator=">">
                    <Breadcrumb.Item>采购主体名称（采购主体地址）</Breadcrumb.Item>
                    <Breadcrumb.Item>库存管理</Breadcrumb.Item>
                    <Breadcrumb.Item>库存目录管理</Breadcrumb.Item>
                </Breadcrumb>
            }
            tabList={tabList}
        >
            {children}
        </AxTabTitleCard>
    );
};

export default Layout;
